package com.shuimutong.paxos.demo.bean.dto;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class PrepareResDto {
    private boolean accept;
    private String val;

    public PrepareResDto(boolean accept) {
        this.accept = accept;
    }
    public PrepareResDto(boolean accept, String val) {
        this.accept = accept;
        this.val = val;
    }
}
